package nc.ui.arap.selectedpay;

public class homeButtonListener implements ButtonListener {
  public homeButtonListener() {
  }
  public void action(nc.ui.arap.selectedpay.ButtonEvent1 e) {
    /**@todo Implement this nc.ui.arap.selectedpay.ButtonListener method*/
    //throw new java.lang.UnsupportedOperationException("Method action() not yet implemented.");
    MainPanel parent=(MainPanel)((ARAPButton)e.getSource()).getOwner();
    parent.remove(0);
      parent.updateUI();
      parent.getBillListPanel().getHeadBillModel().setBodyDataVO(null);
      parent.getBillListPanel().getBodyBillModel().setBodyDataVO(null);
      parent.selectedpanel.getBillCardPanelDj().getBillModel().setBodyDataVO(null);
      parent.add(parent.getBillListPanel(),0);
      parent.changButtons(e.getButtonGroup());
      parent.setButtonEnable("save",true);
      parent.setButtonEnable("cancel",true);
      parent.refresh.fireAction(null);
  }

}
